
import uuid
import libnum
import gmpy2
import os
flag = "flag{" + str(uuid.uuid4()) + "}"
print(flag)
flag = flag.encode()
m = libnum.s2n(flag)


e = 65537
p = libnum.generate_prime(256)
q = gmpy2.next_prime(p)

n=p*q
c1=pow(m,e,p)
c2=pow(m,e,q)

for i in range(1,p):
    c1=c1*i%p
c1=(c1*-1)%p

for i in range(1,q):
    c2=c2*i%q
c2=(c2*-1)%q

print("n=",n)
print("c1=",c1)
print("c2=",c2)
n= 4513379923709898531820421781270021976685406351585516970767217643326542111873477541638312477519381819042946187327649485313885067271629396678402257138127019
c1= 813476077652310513563952602104693825019976729689161860104436985586052748513
c2= 36196630570055523561853728164755672876532668640198751556631265821889333964706
